package service;

import java.util.List;

import bean.Teacher;

public interface LoginService {
	public List<Teacher> getAllTeacher();								//获取所有教师
	public Teacher findTeacherById(int tid);							//根据id查询教师
	public Teacher findTeacherByEmail(String temail);					//根据邮箱查询教师
	public Teacher findTeacherByPhone(String tphone);					//根据手机查询教师
	public Teacher findTeacherByUsername(String tusername);				//根据用户名查询教师
	public int addTeacher(Teacher teacher);								//添加教师
	public void updateTeacher(Teacher teacher);							//更新登录登出信息

}
